package com.itheima.dao;

import com.itheima.pojo.Member;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberMapper {

    Member queryMemberBy(@Param("telephone") String telephone);

    void add(Member member);


    Integer getMemberReport(@Param("month") String month);

    Integer findMemberCountByDate(@Param("nowStr") String nowStr);


    Integer findMemberTotalCount();

    Integer findMemberCountAfterDate(@Param("date") String date);

    List<Member> findFamily(@Param("id") Integer id);
}